//index.js
//获取应用实例
const app = getApp()

Page({
  data:{
    items:[
      { name:"USA",value:"美国" },
      { name:"CHN" , value:"中国", checked:true },
      { name: "BRA", value: "巴西" },
      { name: "JPN", value: "日本" },
      { name: "ENG", value: "英国" },
      { name:"TUR",value:"法国" }
    ]
  },
  checkboxChange:function(e){
    console.log(e)
    console.log(this)
    console.log("checkbox 发生 change事件，携带value值为：", e.detail.value)
  }
})
